<!--
	作者：lk
	时间：2017-04-05
-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>商城</title>
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" href="css/shoppingMall.css" />
		
		<script type="text/javascript" src="js/angular.min.js" ></script>
		<script type="text/javascript" src="js/jquery-2.1.1.min.js" ></script>
		<script type="text/javascript" src="js/global.js" ></script>
		<script type="text/javascript" src="js/shoppingMall.js" ></script>
	</head>
	<body ng-app="myApp" ng-controller="myCtrl" ng-cloak>
		<!---------header部分----------->
		<header>
			<div class="search_frame">
				<span><img src="image/soso_icon_soso.png"/></span>
				<input type="text" placeholder="输入搜索的内容" ng-focus="toFind()"/>
			</div>
			<a id="toSearch"><img src="image/满购物车.png"/></a>
		</header>
		<!----------内容部分-------->
		<section>
			<div class="patternmaking"><img src="image/展示图2.png"></div>
			<!---choiceness_goods部分--->
			<div class="choiceness_goods">
				<h2>
					<img src="image/精选.png">
					精选商品
				</h2>
				<div class="choiceness_content">
					<ul>
						<li ng-repeat=" k in choiceness_goods">
							<a ng-href="shoppingDatail.html?id={{ k.code }}">
								<img ng-src="{{ k.defaultImage }}"/>
								<p>{{ k.title }}</p>
								<span>{{ k.price | getPrice }}</span>
							</a>
						</li>
					</ul>
				</div>
			</div>
			<!-----goods_tittle部分-------->
			<!--<div class="goods_tittle">
				<ul>
					<li class="background_font_color">农产品</li>
					<li>精选肉类</li>
					<li>新鲜水果</li>
					<li>精选家禽</li>
					<li>绿色水果</li>
					<li>无机蔬菜</li>
					<li>全部产品</li>
					<li>更多</li>
				</ul>
			</div>-->
			<!------farm_products部分------------>
			<!--提示框-->
			<div class="alert" ng-show="reminder"></div>
			<div class="reminder" ng-show="reminder">
				<p>温馨提示</p>
				<p>{{ message }}</p>
				<p ng-click="close()">确定</p>
			</div>
			<div class="farm_products">
				<h2>
					<img src="image/农产品.png">
					农产品
					<a href="searchResult.html?categoryCode=4749791007064f0788497dcf536c2658">+MORE</a>
				</h2>
				<div class="products_content">
					<ul>
						<li ng-repeat=" k in farm_products ">
							<dl>
								<dt><img ng-src="{{ k.defaultImage }}"/></dt>
								<dd>
									<p><a ng-href="shoppingDatail.html?id={{ k.code }}">{{ k.title }}</a></p>
									<div>
										<span class="newPrice">{{ k.price | getPrice }}</span>
										<span class="originalPrice">{{ k.stock }}</span>
										<span class="setCart" ng-click="setCart(k)"><img src="image/满购物车.png"/></span>
									</div>
								</dd>
							</dl>
						</li>
					</ul>
				</div>
			</div>
			<!----农资产品---->
			<div class="farm_products">
				<h2>
					<img src="image/农产品.png">
					农资产品
					<a href="searchResult.html?categoryCode=c6e4e369a18944e2be609a3079716345">+MORE</a>
				</h2>
				<div class="products_content">
					<ul>
						<li ng-repeat=" k in agricultural ">
							<dl>
								<dt><img ng-src="{{ k.defaultImage }}"/></dt>
								<dd>
									<p><a ng-href="shoppingDatail.html?id={{ k.code }}">{{ k.title }}</a></p>
									<div>
										<span class="newPrice">{{ k.price | getPrice }}</span>
										<span class="originalPrice">{{ k.stock }}</span>
										<span class="setCart" ng-click="setCart(k)"><img src="image/满购物车.png"/></span>
									</div>
								</dd>
							</dl>
						</li>
					</ul>
				</div>
			</div>
		</section>
		<!----------footer部分--------->
		<footer>
			<ul>
				<li >
					<a href="index.html">
						<img src="image/tab_iocn_home_normal.png"/>
						<p>首页</p>
					</a>
				</li>
				<li>
					<a>
						<img src="image/商城_1111 拷贝.png"/>
						<p class="green">商城</p>
					</a>
				</li>
				<li>
					<a href="imformation.html">
						<img src="image/信息V1.png"/>
						<p>信息</p>
					</a>	
				</li>
				<li>
					<a href="education.html">
						<img src="image/教育研究.png"/>
						<p>教育</p>
					</a>
				</li>
				<li>
					<a href="vipOrder.html">
						<img src="image/tab_icon_my_normal.png"/>
						<p>我的</p>
					</a>
				</li>
			</ul>
		</footer>
	</body>
</html>
